Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

Generating labels over a Browser

edited April 2003 in Server
Hello,

I apologize if this is not the correct place to post this question.

I am trying to produce labels over the web. When I don't use the web and I
use ReportBuilder with a thin client the ReportBuilder program Wizard
produces the labels Avery 5160 perfectly. However, when I ran them through
a webtier using rsWebAdapterPDFPragnaan the labels no longer align correctly
both on width and height. I tried changing the dimenstions of the labels
but when I stretched them out the PDF file actually shrunk the print size
down to fit the page even more and I came up with smaller print and similar
alignment problems.

I contacted pragnaan about this and sent them an example .raf file and they
responded that everything worked okay for them. I tried printing on 4
different printers (Epson C82, Brother HL 720, HP Deskjet 712C, and HP PSC
2210) and have had the exact same problem on all of them. Am I doing
something wrong?

Any help would be greatly appreciated.

Thanks,

Bill Gifford

Comments

  • edited April 2003

    Try some incremental tests:

    1. Using TppReport generate the Avery 5160 report to PDF using Pragnaan and
    then print PDF to the printer.
    2. Using TrsClientReport generate the Avery 5160 to PDF using Pragnaan and
    then print PDF to the printer.
    3. Using TrsWebTier generate the Avery 5160 to PDF using Pragnaan and then
    print PDF to the printer.

    Let me know what steps I can take to recreate this and perform a test here.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2003
    I created a simple application with one form. Using TppReport I used the
    wizard to create some labels from a pipeline. The labels printed perfectly
    when running the application.

    I then added PsRBRoutines to my uses clause and added a new button to the
    form with the following code.

    ExportToPDF(ppReport1, 'mypdffile.pdf');

    I ran the application and generated the pdf file. I opened Acrobat Reader
    5.0 and mypdffile.pdf and printed the first page. The first few labels
    printed okay but were moving higher on the label with each row. By the time
    it got to the 5th row the labels were off. The 3rd column is also printing
    very close to the left side of the label while the 1st column is starting
    its printing a little too far to the right.

    Thanks for your help,

    Bill Gifford


  • edited April 2003
    After some additional testing I found that exporting the report to a .rtf
    file aligned the labels correctly. Is it possible to export files into a
    RichText format over a webbrowser?

    I placed a very basic example of code for reproducing the pdf labels problem
    I am having at the following location
    ftp://ftp.revelations.com/labelproj.zip I also downloaded the PDF
    conversion program from Waler and had the same problem with labels.

    Thanks,

    Bill Gifford


  • edited April 2003
    I feel really stupid at this point. I figured out the problem. When
    printing PDF files there is an option in the print dialog that I simply did
    not see. "Shrink oversized paged to fit paper size" I turned that option
    off and the pdf labels printed perfectly. I'm very sorry to have bothered
    you.

    Thanks,

    Bill Gifford


This discussion has been closed.