Focal Point
[SOLVED] sending pdf to Oki-Data printer

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5441020703

November 14, 2008, 09:22 AM
Don Robison
[SOLVED] sending pdf to Oki-Data printer
I have a user that is trying to send a pdf output to OKI-Data printer. Is there anything
special that needs to be done to get this working?

This message has been edited. Last edited by: Kerry,


Version 7.17
November 14, 2008, 12:59 PM
Darin Lee
Which printer you are sending to has nothing do do with any WF settings. PDF means "portable document format" meaning that it is standard across any OS, printer, etc. The Acrobat reader and printer driver handle all of the necessaries.

Now if you're talking about automatically sending to a printer via ReportCaster, there's a whole different story. Most printers don't natively know what a PDF stream is so you have to handle printing through specific printer queues or create the document in Postscript format for a PS-enabled printer (the appearance of the output is nearly identical.)


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
January 13, 2009, 03:58 PM
TimpyJane
Darin, this this something that we need to set up in our DOS commands on each printer that will be using the OkiData, or is this something that should be set up on the IBI? Thanks for your help.


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
January 13, 2009, 03:59 PM
TimpyJane
quote:
Darin, this this something that we need to set up in our DOS commands on each printer PC that will be using the OkiData, or is this something that should be set up on the IBI? Thanks for your help.



Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
January 13, 2009, 05:00 PM
Darin Lee
You don't give me much information on what it is you're doing so I'm going from previous post. And the answer is neither, really. Again, printing of PDF documents has nothing to do with WF. WF creates the PDF document just as any other tool would and it is handled with Adobe Acrobat Reader which is called from the browser when the report is returned. From there, printing is via a windows printer driver, so there isn't anything DOS involved either. All you need is Acrobat Reader and the Windows printer driver for your Okidata printer. Those will have to be on any PC that will be used to print PDF docs, but again that is standard setup for printing ANY PDF doc, not just WF reports.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
January 13, 2009, 05:15 PM
TimpyJane
Darin, thank you for responding. After more testing to this printer, I found that if I set the job to ONLINE-FMT HTML or DOC or EXL2K the print is just fine, but the placement of the fields on the form is lost when the print comes out. It's though the printer doesn't recognize spaces. When I change this to PDF, the print is illegible but the spacing is correct. All our PC's are set up with Adobe Reader and PDF documents print just fine to the laser printers. I'm baffled.


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
January 14, 2009, 12:44 PM
Darin Lee
Are you using any special fonts or images in the document? If so try changing to Arial or Times and see fi you have the same issue. Never seen an issue where Adobe Reader doesn't print what is displayed unless there is a printer problem. Are there any issues if you send this same doc to another printer?

I'm a little confused as to what you are referring when you say the "print is fine" or "print is illegible" vs. "placing on the form" or "spacing is correct." Do you mean the display on the screen vs. the printed document? When you say "print" I'm think something that the printer printed on paper.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
January 19, 2009, 10:52 AM
TimpyJane
I have discovered that the OkiData 3410 we are using does not recognize PDF or web page fonts. All other applications print fine. So I am changing the format to WP. Running into a problem - there are two blank pages before the output detail. I've been searching the site for examples, resolutions, but cannot find any. Any ideas as to why I am getting 2 blank pages in the output before the detail?

-----------------------------

PAGE 1


PAGE 2


1

XX

PAN MA
XX

2 D 8 H N 4 4 E 2 9 R 5 1 3 6 8 9

2009 DODGEGR CARAVAN RTKH VAN 6 7 4


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
January 19, 2009, 11:48 AM
TimpyJane
I found an answer - 'NOLEAD'.

On the output pages, when I print them from the browser the 'Page 1 of x' appears on the top right and the web address with the date appears on the bottom of each page. How do I get rid of this? Has to be in my browser settings.


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
January 19, 2009, 11:57 AM
TimpyJane
I found this answer - File/Page Setup/Header and Footer should be blank. I guess I just asked too quickly.

-------------------------
I do have a question about the output. There is a '1' in the top left of the page. I'm not putting this on the form as a field. Any ideas where this is coming from? Output is WP. I'm a newbie and appreciate your help.

1 1

XX

PAN MA
XX

1 F M E U 7 4 E 7 9 U A 0 9 8 9 9


Web Focus Developer Studio Release 7.6.1 Output formats include Excel, PDF, HTML, XML.
January 19, 2009, 11:59 AM
Darin Lee
Those are headers and footers that are there by default when you print from your browser. They look like

&w&bPage &p of &P

and

&u&b&d

If you go into File>Page Setup (Or click on the Settings icon from Print Preview) in your browser, you can see where they are and remove them.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat