LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-09-2005, 01:37 PM   #1
chad_jensen
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Rep: Reputation: 0
pdf printing problems


I'm not sure if this is a software or hardware issue
I have been trying to figure this problem out for probably a year or more.
When I try to print a pdf file I have problems with the margin when printing. The bottom part of the page is cut off. I have adjusted the margins in the printer driver. I have messed with the margins in the pdf preferences. I have used about every linux pdf program; Adobe, kghostveiw, xpf. and they all do the same thing. I have tried different distros; mandriva and ubuntu. but they still do the same thing. everything else prints out good except pdf.
My printer is an hp 5510. My comp is an amd 1900 sempron.
I have googled for this problem but with no luck.
any help would be great
chad
 
Old 11-09-2005, 10:54 PM   #2
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Sounds like the root of your problem is that your PostScript/PDF printing is assuming an A4 paper size rather than Letter. Try using CUPS to print the pdf, making sure that you have the document size defaults set to Letter.

I'm guessing that you are trying to use US Letter size stock. If you really do use A4 paper, never mind....
 
Old 11-10-2005, 11:54 AM   #3
chad_jensen
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I checked the paper size in kghostview and in adobe acororead and both say letter. the printer driver says letter. As far as using cups, I am not sure how to tell where to find that out or how to change that.
thanks
chad
 
Old 11-10-2005, 01:31 PM   #4
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
Just use CUPS to print your PDF. By default CUPS will center each PDF to the page.

To make it fit on the entire page:

lp -o fitplot filename


To figure out what your printer is set up to do:

lpoptions -p printername -l


More about printer options can be found at the CUPS website. This is a link to CUPS Chapter 3 "Standard Printer Options":

http://www.cups.org/doc-1.1/sum.html#STANDARD_OPTIONS
 
Old 11-11-2005, 01:13 PM   #5
chad_jensen
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Original Poster
Rep: Reputation: 0
all right I checked in kghostview and I am using cups. Here is the lpoptions command output

PageSize/Page Size: Custom *Letter A4 Photo PhotoTearOff 3x5 5x8 A5 A6 A6TearOff B5JIS Env10 EnvC5 EnvC6 EnvDL EnvISOB5 EnvMonarch Executive FLSA Hagaki Legal Oufuku w558h774 w612h935
PageRegion/PageRegion: Letter A4 Photo PhotoTearOff 3x5 5x8 A5 A6 A6TearOff B5JIS Env10 EnvC5 EnvC6 EnvDL EnvISOB5 EnvMonarch Executive FLSA Hagaki Legal Oufuku w558h774 w612h935
PrintoutMode/Printout Mode: Draft Draft.Gray *Normal Normal.Gray High High.Gray Photo
Quality/Resolution, Quality, Ink Type, Media Type: *FromPrintoutMode 300ColorCMY 300ColorCMYK 300DraftColorCMY 300DraftColorCMYK 300DraftGrayscaleK 300GrayscaleK 300PhotoCMY 300PhotoCMYK 300PhotoCMYKFullBleed 600ColorCMY 600ColorCMYK 600GrayscaleK 600PhotoCMY 600PhotoCMYcmK 600PhotoCMYcmKFullBleed 600PhotoCMYK 600PhotoCMYKFullBleed

It says pagesize is letter. so I am still at a loss what to do. I tried to change my print command in kghostveiw to what you gave me but I haven't found out where to change it yet. I will look around more and let you know if I have any luck.
Chad
 
Old 11-11-2005, 01:21 PM   #6
chad_jensen
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I found the command in acroread and changed it to this

lp -s -o fitplot -dHPOfficeJet5500_1

and still no luck bottom of page is still cut off

thanks
chad
 
Old 11-11-2005, 11:54 PM   #7
chad_jensen
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I tried your command on the command line and it worked great. now how do you get the pdf viewers (kghostview acroread etc) to print out correctly?
 
Old 11-14-2005, 09:13 AM   #8
steve1972
Member
 
Registered: Jan 2005
Posts: 62

Rep: Reputation: 15
I looked on the ghostview website and found no documentation on this. I'm not sure what they're doing.

To be honest, I use ESP Print Pro for all my printing/networking needs. Maybe you should just use that.

http://www.easysw.com/

Best regards,
Steve

P.S. - If you do figure out how to control ghostview I'd be interested
 
  


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
PDF Printing kkatebian Linux - Software 1 11-08-2005 01:01 PM
Printing pdf Luc484 Linux - Software 3 11-06-2005 05:57 AM
Printing to PDF fedix Fedora 1 10-13-2005 04:48 PM
Printing into PDF moneyshotz Linux - Software 8 07-27-2003 02:14 PM
PDF and small printing lachlan Linux - Software 0 10-23-2002 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration