![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sorting Files / Combing Fields / Printing | ccfc1986 | Shell Programming and Scripting | 12 | 12-03-2007 10:38 AM |
| Dynamically Creating and Printing to Files | Laud12345 | Shell Programming and Scripting | 0 | 03-02-2005 09:07 AM |
| printing number of files ONLY in ~ directory | fasdafdsf | UNIX for Dummies Questions & Answers | 4 | 06-23-2002 06:39 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 07:48 AM |
| Printing .TIFF files | elbryan | UNIX for Dummies Questions & Answers | 3 | 09-05-2001 11:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
printing PDF files
Hi all:
I'm trying to resolve a print issue in HPUX. Background: An ascii report file was being produced by a program. It was being sent to the printer via internal commands, to wit: let #send_status = 0 let $send_cmd = 'lp -d lp03 /ps/tmp/edsprint/eds*.N.LIS' call system using $send_cmd #send_status WAIT if #send_status <> 0 Show 'Error in sending Report /ps/tmp/edsprint/edsprint.N.LIS to lp03 Status = ' #send_status else Show 'Report /ps/tmp/edsprint/edsprint.N.PDF sent to printer lp03 ' end-if This works fine. The user however, wanted the additional ability to view the report in the browser, so I changed the program to produce the report as a .PDF file. The user can bring up the report in the browser OK, but the above set of commands (with the file extension of "LIS", now changed to "PDF") is sending garbage to the printer (it looks like the junk you get when you try to print something using the wrong driver). I tried different printers, but no joy. I can ftp the file to a Win2000 box and bring it up with Acrobat reader OK and print it OK, but even using the the Unix command line to print it produces garbage. I've been bugging our UX admin for ideas, but I'm not getting anywhere. Anyone got any suggestions? |
| Forum Sponsor | ||
|
|
|
|||
|
Re: printing PDF files
Hi all:
Well, my Ux Admin came through after all. He installed Acrobat5 (and did some tweaking - I'll post back with the details if they're relevant) and I changed the commands as follows: Quote:
|
|||
| Google The UNIX and Linux Forums |