Audio (342) Datatype (51) Demo (203) Development (593) Document (22) Driver (99) Emulation (146) Game (991) Graphics (494) Library (113) Network (228) Office (65) Utility (912) Video (69)
Total files: 4328
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
FTPPrint | Description: | Simple FTP based printing | Download: | ftpprint.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 3kb | Version: | 1.2 | Date: | 02 Mar 2018 | Author: | Andy Broad | Submitter: | Andy Broad | Email: | andy/broad ology org uk | Homepage: | http://www.broad.ology.org.uk/amiga | Requirements: | Perl (any version probably okay > 5.16 recomended) | Category: | utility/print | Replaces: | utility/print/ftpprint.lha | License: | Freeware | Distribute: | yes | Min OS Version: | 4.1 | FileID: | 10541 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 102 (Current version) | | 212 (Accumulated) | Votes: | 0 (0/0) (30 days/7 days) | |
$VER: PutToPrinter 1.2 (1.3.2018)
PutToPrinter
This is a simple ftp based solution to printing via my HP LaserJet Pro
2000 color M251n. Whilst writen with that printer in mind it ought to
work with any ftp based printer.
It will print postscript and PDF documents direct, and will filter plain
text via ghostscript to create a suitable postscript version.
Version 1.2 now allows passing of plain text direct to the printer and
also sets a small selection of configuration items. The configuration
options depend on the printers web inerface, so success may vary from
model to model.
Configuration
Set the following variables to define the domain name / ip address and
any username and password required
my $printerdomain = "printer";
my $username = "anon";
my $password = "bar";
Usage
Call as
"puttoprinter.pl [--copies n] [ --a5landscape ] [--plaintext [
--landscape ] [--bold]] <filename"
* "--copies n" Print n copies of the document
* "--a5landscape" Feed a5 paper "sideways".
* "--plainttext" Passes the file through to the printer as plan text.
No checks are made that the file really is plain text. Any new line
are converted to CR/LF sequences.
* "--landscape" Only affects plain text, print the plain text in
landscape mode.
* "--bold" Only affect plain text, prints the plain text in a bolder
font.
Todo
Create a simple ProAction GUI. Perhaps parse the printer status page to
sync the proposed GUI with the current settings.
Requirements
A recent (>5.16) perl installation with Net::FTP File::Basename and
File::Temp modules as well as HTTP:Request and LWP::UserAgent for
setting options
Credits
Writen by Andy Broad <andy()broad.ology.org.uk>
|