LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2009, 05:27 PM   #1
jjrowan
Member
 
Registered: Sep 2001
Location: New Jersey
Distribution: Red Hat, SuSE, CentOS and Ubuntu
Posts: 35
Thanked: 0
Resulting fax only bottom left 1/4 of page


[Log in to get rid of this advertisement]
I'm trying to work with another person that has a Windows based system. He generates a PCL (HP printer control language) encoded file. I take the PCL file and run it through pcl6 to convert it from PCL to a PDF. If I look at the resulting PDF it looks fine. But when I print to a hylaFAX / fax4CUPS setup the receiving fax only shows the bottom left corner which is actually the top right corner of the PDF. I tried tweaking setting thinking it might be defaulting to A4 sized paper but that didn't help. I turned on a cover page in CUPS for the job. The cover page shows up centered properly but the necessary pages are all 1/4 of what they should be.

I use similar logic on another job where a different programmer generates a postscript output file which I convert to a PDF then use a similar command to fax from there. That works perfectly.

The command I issue is

lpr -Pfaxit -o phone=1234567890 /tmp/fax.pdf

The faxit queue uses fax4CUPS hylaFAX.ppd then routes to hylaFAX to send via fax modem.

Any help greatly appreciated.

Anyone with expertise with ghostscript CUPS or fax4CUPS with an idea?

Last edited by jjrowan; 05-26-2009 at 11:50 AM..
jjrowan is offline     Reply With Quote
Old 05-26-2009, 07:29 PM   #2
jjrowan
Member
 
Registered: Sep 2001
Location: New Jersey
Distribution: Red Hat, SuSE, CentOS and Ubuntu
Posts: 35
Thanked: 0

Original Poster
Anomoly?

After spending many hours trying different parameters with lpr I opted to convert the source PCL file into postscript rather than using a PDF. Using a similar command line
lpr -Pfaxit -o phone=1234567890 /tmp/fax.ps

only ps differs as prior was pdf
The file is spooled to the faxit pseudo printer and routed to hylaFAX then out the modem to the recipient's 123456789 fax machine.

I don't know why using a PDF didn't work, I can't spend any more time trying to determine why.
jjrowan is offline     Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 4 and bottom panel widgets all have moved to the left. 7pack Suse/Novell 3 10-24-2008 11:16 AM
Kickoff button disappeared from bottom left corner panel ieduarte73 Suse/Novell 2 08-02-2008 10:30 PM
mysql_connect resulting in blank web page bjweb Linux - Newbie 5 03-27-2008 07:19 AM
KDE Screensaver appears in bottom left Waldo_II Linux - Software 0 02-15-2008 06:44 AM
Mouse freeze then after being toggled, it stays in bottom left corner of screen SuSE_User Linux - Games 1 02-16-2004 11:34 PM


All times are GMT -5. The time now is 04:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration