Hi,
When i print a picture, i obtain a postscript file which seems not good!
When i open it with ghostview i have only an "all black picture" not my
original picture...
Here is the header of postscript file generated by xnView:
> more -15 /var/tmp/aaaFlai7t
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (XnView)
%%Title: (/var/tmp/aaaFlai7t)
%%CreationDate: (Tue Mar 1 13:55:22 2005)
%%BoundingBox: 0 0 498 446
%%DocumentData: Clean7Bit
%%LanguageLevel: 1
%%Orientation: Portrait
%%PageOrder: Ascend
%%Pages: 1
%%EndComments
%%BeginDefaults
%%EndDefaults
Is this a real problem or not?
Because for me it's impossible to print something!
When i use the command: lp -d myPrinter
the bad(?) postscript file is generated and send to printer pool but never
printed as it is refused?!?
Thanks a lot for any help or information
Is print functionnality OK for others?
Pierre can you tell me what kind of postscript do you generate with xnView?
printing problem with 1.68 X11/Motif version (UNIX solaris)
Moderators: XnTriq, helmut, xnview
-
- Posts: 1
- Joined: Thu May 12, 2005 9:05 pm
Same on HP-UX
I have the same Problem on HP-UX 11.00 and HP-UX 11.11.
Any help is apreciated.
Roman
Any help is apreciated.
Roman
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Same on HP-UX
The ps is generated in respect of their DPI information. Could you tell me the size of your picture in inch or cm? Or send me a sample?roman wrote:I have the same Problem on HP-UX 11.00 and HP-UX 11.11.
Any help is apreciated.
Pierre.
Re: Same on HP-UX
Tomorow i am back in office. I will send you some examples.xnview wrote:The ps is generated in respect of their DPI information. Could you tell me the size of your picture in inch or cm? Or send me a sample?roman wrote:I have the same Problem on HP-UX 11.00 and HP-UX 11.11.
Any help is apreciated.
Regards
Roman
Re: Same on HP-UX
The problem is still pending.xnview wrote:The ps is generated in respect of their DPI information. Could you tell me the size of your picture in inch or cm? Or send me a sample?roman wrote:I have the same Problem on HP-UX 11.00 and HP-UX 11.11.
Any help is apreciated.
I can use any oicture/image i want. I can't print anything. The lights on the printer (Laserjet 5000 (postscript)) are flashing a few seconds, than: NOTHING. Nor error message no warning or anything.
If i save the image from xnview as a postscript-file i can't print it with "lp image.ps": Same behavior as before.
Ghostscript (v7) shows the files without problems.
Any hints?
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Same on HP-UX
Could you send me a ps file that works on your printer?Guest wrote:The problem is still pending.xnview wrote:The ps is generated in respect of their DPI information. Could you tell me the size of your picture in inch or cm? Or send me a sample?roman wrote:I have the same Problem on HP-UX 11.00 and HP-UX 11.11.
Any help is apreciated.
I can use any oicture/image i want. I can't print anything. The lights on the printer (Laserjet 5000 (postscript)) are flashing a few seconds, than: NOTHING. Nor error message no warning or anything.
If i save the image from xnview as a postscript-file i can't print it with "lp image.ps": Same behavior as before.
Ghostscript (v7) shows the files without problems.
Any hints?
Pierre.
-
- Posts: 2
- Joined: Wed Dec 28, 2005 10:08 am
-
- Posts: 2
- Joined: Wed Dec 28, 2005 10:08 am
The problem is solved:
Under HP-UX 11.11 (11.0) there is no Postscript Level 3 driver for our printer (a HP 5100TN (PS) PS3 under Windo%s and other OS).
If i set up the printer under a linux-box (CUPS) with the apropriate driver (PS3) everything works like a charme.
F* HP.
Thanks for all help.
Roman
Printing in HP-UX (and every other 'ux for that matter) is possible when you let ghostscript do the work:
Don't let 'lp' handle the printjob directly, but send the printjob to a script like this (that's the way I did it, there may be other possibilities) :
Don't let 'lp' handle the printjob directly, but send the printjob to a script like this (that's the way I did it, there may be other possibilities) :
Code: Select all
#!/usr/bin/ksh
/usr/local/bin/gs -sDEVICE=laserjet -dEPSFitPage -dBATCH -dNOPAUSE -sOutputFile=${1}.prn ${1}
lp -oraw ${1}.prn
rm ${1}.prn