[Wylug-help] Suggestions - printing to ZEBRA credit card printer attached to Win7 PC
Gary Stainburn
gary.stainburn at ringways.co.uk
Wed Sep 17 16:23:04 UTC 2014
On Wednesday 17 September 2014 17:14:50 Smylers wrote:
> Gary Stainburn writes:
> > Thanks for this. I had already considered using a perl PDF module to
> > generate a PDF file, but that still leaves the question of how to
> > print the PDF.
>
> Yeah, but that's gotta be a widespread requirement that's been solved —
> basically the Windows equivalent of lpr -P zebra file.pdf.
>
> This post suggests that Win32::Printer::Direct can print PDF files,
> though possibly it just passes the bytes on unmodified, so it's actually
> dependent on your printer being able to handle PDF:
> http://www.perlmonks.org/?node_id=539033
>
> One of the comments on the above post suggests using the gsprint
> command: http://pages.cs.wisc.edu/~ghost/gsview/gsprint.htm
>
> > There doesn't seem to be a perl equivelent of the old Delphi print
> > component,
>
> There might be, but for those of us who have never used Delphi, that
> isn't much of a description!
>
> Smylers
The Win32::Printer says on the CPAN page that it's been discontinued.
However, the reference to the gsprint utility may be of use.
--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk
More information about the Wylug-help
mailing list