OS4 DepotLogo by Alkaron 
(anonymous IP: 18.219.22.169,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Print » ftpprint.lha

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 18
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:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
    $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>

Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment