Linux to Windows Printing: PDF starts printing from middle of page.

Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Linux to Windows Printing: PDF starts printing from middle of page.
# 1  
Old 07-26-2011
Data Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the middle. How can we get rid of the space and print the entire pdf (1 page pdf) in 1 page?

Printer is an Epson LQ-300+II dot-matrix printer.

What options can we use in the LPR or LP command. I tried Google but none of the suggestions work.

Any help would be greately appreciated.
# 2  
Old 07-27-2011
I would be inclined to convert the pdf to postscript, and then convert the postscript to epson using ghostscript, before sending the job to the printer.
# 3  
Old 07-29-2011
Hi, thanks for the reply. I found a tool to convert pdf to ps. It's called pdf2ps. But I have no idea about converting ps to ghostscript. Smilie Any ideas????
# 4  
Old 07-30-2011
Ghostscript is a package included with most Linux distributions. Its main program is "gs".
Some of the common uses like postscript to pdf and pdf to postscript are pre-scripted as "ps2pdf" and "pdf2ps".
Try "gs -help" to see all the variations on input and output. You will see that epson is a valid output device.
# 5  
Old 07-30-2011
First inclination is to send a form feed character first and risk wasting a sheet of paper.

However we don't know anything about your computers or Operating Systems or your printing setup or what commands you issue.

You have a limited specification printer and I'm amazed that it will print a PDF. The buffer is tiny in modern terms. Nowadays it is cheaper to buy a better printer than to fit memory to an Epson.
Epson LQ-300+II - Dot Matrix. Technical Specifications and Overview
# 6  
Old 08-04-2011
Hello thanks for the replies,

The machine that we are trying to print from has Red Hat Enterprise Linux Server release 5.4 (Tikanga):
[root@dieappsrv ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[root@dieappsrv ~]# uname -a
Linux dieappsrv 2.6.18-164.el5 #1 SMP Thu Sep 3 02:16:47 EDT 2009 i686 i686 i386 GNU/Linux
[root@dieappsrv ~]#

The Printer is attached to a Windows XP Prof. Version 2002 SP 3.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Printing all the values in the middle of two columns

Hi, I have a tab delimited text file with three columns: Input: 1 25734 25737 1 32719 32724 1 59339 59342 1 59512 59513 1 621740 621745 For each row of the text file I want to print out all the values between the second and third columns, including them. The... (3 Replies)
Discussion started by: evelibertine
3 Replies

2. Solaris

Printing pdf problem using pasta.cfg

hi folks I have issue in printing pdf while using ERP application, it's using pasta utility to print pdf. If i print from command line its successful while when ERP user give print command the printer doesnot print anything rather it gives error which is as follows ESP Ghostscript 815.01:... (12 Replies)
Discussion started by: smazshah
12 Replies

3. Shell Programming and Scripting

[Solved] Pdf Printing in Solaris

HI All I need help related to Pdf printing in I print pdf file in solaris it print can I print pdf correctly. need help asap. Regards (21 Replies)
Discussion started by: smazshah
21 Replies

4. Shell Programming and Scripting

Page Break in a file for printing

Hi, We have 1lac records in source file and unix script will genarate around 1000 files. From target location the files are taking for printing on physical papers. the page size limitation : 256 Lines Can you please tell me how to insert the page break in a flat file for printer. (5 Replies)
Discussion started by: koti_rama
5 Replies

5. UNIX for Dummies Questions & Answers

printing only the middle word between two patterns

How would I print the word "and" between the words "FOO" and BAR" using sed? My file has three words in it FOO and BAR. I only want the word "and". Thanks every one. (7 Replies)
Discussion started by: tigta09
7 Replies

6. Shell Programming and Scripting

Printing to a web page

I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies

7. Shell Programming and Scripting

Printing to PDF - Advanced usage

Hello, Just a rather long query regarding printing to PDF. I have installed the Cups-PDF printing system which enables me to send a normal text file and create a PDF of it. I then use the pdftk to merge that file with a template. My question is, that I have a database system that will need... (2 Replies)
Discussion started by: stuaz
2 Replies

8. UNIX for Dummies Questions & Answers

PDF Printing....

:confused: We have a Sco Open Unix 5.0.5 Server that I am trying to configure to allow for PDF creation. Currently the server is just using lpr to print to laser printers located throughout the facility. The goal is to be able to also print to pdf documents. There is no option for... (2 Replies)
Discussion started by: pabloescobar
2 Replies

9. UNIX for Dummies Questions & Answers

printing in postscript or convert from pdf?

hi - go easy on me, i'm new to UNIX... i need to resample huge pdf files and make them smaller. distiller won't resize existing pdf files. i thought i could print the pdf to a postscript file and then resample that. would that work? if so, how? is this the best way forward or should... (1 Reply)
Discussion started by: jono2000
1 Replies

10. UNIX for Dummies Questions & Answers

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... (4 Replies)
Discussion started by: abNORMal
4 Replies
Login or Register to Ask a Question