05-12-2011
how to print a PDF file in UNIX
on a PROGRESS environment, i create an invoice which at printing it must generate both the .dat for the invoice that was sent to the printer and the .dat for the PDF version. we have never printed PDF files in our lp printer until recently. i've done a bit of googling and it comes down to that i must have a PDF converter (pref Post script) then just send the converted pdf to the printer. i checked our printer setting and they read as lp -sc -d <printer name>. our unix* is on SOLARIS.
please help...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need help on printing PS and PDF file. I find it will waste a lot of paper if I print every pages.
So I want to print multipage into one.
But I forgot how to do it in unix.
Anyone help me!!!
:D ;) :p (2 Replies)
Discussion started by: sunartio
2 Replies
2. UNIX for Dummies Questions & Answers
I ask this about a Tru64 system that I do not have access to...
Is it possible to use lpr to print to file?
Taking for granted that the default print in /etc/printcap has HP PCL filters, how can I create a PCL file from text?
Thanks,
kristy (2 Replies)
Discussion started by: kristy
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I'd like to view ps and pds file under Unix(Xwindow)
who could tell me the which software/command can work?
Thanks!
Vicky (2 Replies)
Discussion started by: vicky20000
2 Replies
4. UNIX for Dummies Questions & Answers
Is there an easy way to print to a pdf file in Unix? Now I'm using lpr command to print to a network printer , but I need to have a pdf version of the file as well! Can someone help me?
-Rune (2 Replies)
Discussion started by: runeho
2 Replies
5. UNIX for Dummies Questions & Answers
I am using SCO Unix to print text file. But the word size is too large, it is always over page (A4) when I print. Does Any one know how to use command change word size and make it fit on the page to print text file.
I use command:
lp -d (printer name) textFileName (16 Replies)
Discussion started by: wendyz
16 Replies
6. UNIX for Advanced & Expert Users
Hi,
I had a PDF file in Windows, I ftp'ed it to UNIX environment. Now, I couldnot read the same file in the UNIX environment. Is there any possible way to read this file? I need to give this file as input
Thanks,
Geetha (4 Replies)
Discussion started by: iamgeethuj
4 Replies
7. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
8. AIX
Hopefully this is the correct place to post this, if not please let me know.
I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Discussion started by: DerangedNick
3 Replies
9. AIX
Hello All,
How to print PDF files on AIX 5.3 and 6.1 because i tried adobe reader with no success, any help will be highly appreciated.
Thank you (8 Replies)
Discussion started by: moudmm
8 Replies
10. Solaris
Hi,
Is it possible to setup printer on Solaris 10 that generates PDF file?
We are using quite old solaris app and would like to generate files instead of printing to paper.
Thanks in advance,
Adam (3 Replies)
Discussion started by: adoxxyz
3 Replies
LEARN ABOUT DEBIAN
cam::pdf::gs
CAM::PDF::GS(3pm) User Contributed Perl Documentation CAM::PDF::GS(3pm)
NAME
CAM::PDF::GS - PDF graphic state
LICENSE
See CAM::PDF.
SYNOPSIS
use CAM::PDF;
my $pdf = CAM::PDF->new($filename);
my $contentTree = $pdf->getPageContentTree(4);
my $gs = $contentTree->computeGS();
DESCRIPTION
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually
based in the parent class, CAM::PDF::GS::NoText.
Subclasses that want to do something useful with text should override the renderText() method.
CONVERSION FUNCTIONS
$self->getCoords($node)
Computes device coordinates for the specified node. This implementation handles text-printing nodes, and hands all other types to the
superclass.
$self->textToUser($x, $y)
Convert text coordinates ("Tm") to user coordinates. Returns the converted X and Y.
$self->textToDevice($x, $y)
Convert text coordinates ("Tm") to device coordinates. Returns the converted X and Y.
$self->textLineToUser($x, $y)
Convert text coordinates ("Tlm") to user coordinates. Returns the converted X and Y.
$self->textLineToDevice($x, $y)
Convert text coordinates ("Tlm") to device coordinates. Returns the converted X and Y.
$self->renderText($string, $width)
A general method for rendering strings, from "Tj" or "TJ". This is a no-op, but subclasses may override.
$self->Tadvance($width)
Move the text cursor.
DATA FUNCTIONS
$self->BT()
$self->Tf($fontname, $fontsize)
$self->Tstar()
$self->Tz($scale)
$self->Td($x, $y)
$self->TD($x, $y)
$self->Tj($string)
$self->TJ($arrayref)
$self->quote($string)
$self->doublequote($tw, $tc, $string)
$self->Tm($m1, $m2, $m3, $m4, $m5, $m6)
AUTHOR
See CAM::PDF
perl v5.14.2 2012-07-08 CAM::PDF::GS(3pm)