Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Linux to Windows Printing: PDF starts printing from middle of page. Post 302541972 by rohan69 on Tuesday 26th of July 2011 09:29:17 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. Shell Programming and Scripting

[Solved] Pdf Printing in Solaris

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

9. 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

10. 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
CAM::PDF::Decrypt(3pm)					User Contributed Perl Documentation				    CAM::PDF::Decrypt(3pm)

NAME
CAM::PDF::Decrypt - PDF security helper LICENSE
See CAM::PDF. SYNOPSIS
use CAM::PDF; my $pdf = CAM::PDF->new($filename); DESCRIPTION
This class is used invisibly by CAM::PDF whenever it detects that a document is encrypted. See new(), getPrefs() and setPrefs() in that module. FUNCTIONS
$pkg->new($pdf, $ownerpass, $userpass, $prompt) Create and validate a new decryption object. If this fails, it will set $CAM::PDF::errstr and return undef. $prompt is a boolean that says whether the user should be prompted for a password on the command line. $self->decode_permissions($field) Given a binary encoded permissions string from a PDF document, return the four individual boolean fields as an array: print boolean modify boolean copy boolean add boolean $self->encode_permissions($print, $modify, $copy, $add) Given four booleans, pack them into a single field in the PDF style that decode_permissions can understand. Returns that scalar. $self->set_passwords($doc, $ownerpass, $userpass) $self->set_passwords($doc, $ownerpass, $userpass, $permissions) Change the PDF passwords to the specified values. When the PDF is output, it will be encrypted with the new passwords. PERMISSIONS is an optional scalar of the form that decode_permissions can understand. If not specified, the existing values will be retained. Note: we only support writing using encryption version 1, even though we can read encryption version 2 as well. $self->encrypt($doc, $string) Encrypt the scalar using the passwords previously specified. $self->decrypt($doc, $string) Decrypt the scalar using the passwords previously specified. AUTHOR
See CAM::PDF perl v5.14.2 2012-07-08 CAM::PDF::Decrypt(3pm)
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy