Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!math.lsa.umich.edu!emv From: BRUCE@UMDD.BITNET (Bruce Crabill) Newsgroups: comp.archives Subject: [bit.listserv.ibmtcp-l] NETPRINT -- MQDS, LPR support for VM Message-ID: <10584@stag.math.lsa.umich.edu> Date: 9 Jan 90 07:18:04 GMT References: Sender: news@math.lsa.umich.edu Reply-To: IBM TCP/IP For VM List Followup-To: bit.listserv.ibmtcp-l Lines: 804 Approved: emv@math.lsa.umich.edu (Edward Vielmetti) Archive-name: netprint/release Original-posting-by: BRUCE@UMDD.BITNET (Bruce Crabill) Original-subject: NETPRINT Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti) Ho! Ho! Ho! (Ok, so I'm 3 days late). I've got a Christmas present for the IBM TCP types. For the last semester here at UMD, we have been using a locally written program called NETPRINT for allowing our workstation lab users to be able to print from our IBMs to their local printers in the labs. This program supported the MDQS protocol which is what our Unix systems around here use (MDQS is more general than LPR, but still tends to be very Unix specific (we have also come up with a new protocol called NDQS which attempts not to be Unix specific)). NETPRINT is designed to support several protocols and I have just finished adding the LPR protocol to it. Where possible, options are mapped to the appropriate feature of a given protocol (but unfortunately, there are lots of features that are specific to a single protocol and because of this there are a lot of options that are specific to the protocol being used). This program is just a print file submitter, it does not include any server functions (it won't replace Columbia's LPD, but can submit files to it). The following file are in the UMDTCP FILELIST on the LISTSERV on UMDD: NETPRINT FAL - The version of the module to be used under FAL. Rename to NETPRINT MODULE after receiving it. NETPRINT MODULE - The UMDWISC version of the module. Don't get this file if you are using FAL. NETPRINT HELPCMS - The help file for NETPRINT. UNTPRT PPASCAL - The packed source file. After receiving it, do a: 'COPY UNTPRT PPASCAL A UNTPRT PASCAL A (OLDDATE UNPACK'. SYSPRT NAMES - The system printer definition file. This is a sample version, the installation will need to customize it with their own printer descriptions. The LPR stuff is new and we don't use LPR/LPD at UMD. I have tested it out as best as I can, but I am willing to try to fix any problems that exist. The program as a whole as been used all semester without any problems. The following is the contents of the NETPRINT HELPCMS file so you can get an idea of what it can do: .cs 0 on The NETPRINT command lets you print a file to a network attached printer. FORMAT: NETPRINT ( EXAMPLE: You have a file called SAMPLE LISTING that you would like to print on the laserwriter in the workstation lab in the Computer Science Center. To do so, enter: NETPRINT CSCWAM-LPL SAMPLE LISTING .cs 0 off .cs 1 on NETPRINT Use the NETPRINT command to print a CMS file on a network attached printer. .cs 1 off .cs 2 on The format of the NETPRINT command is: +----------+-----------------------------------------------------+ | | +- -+ | | NETPRINT | | | [ |* ] | | | | : | | | | +- -+ | | | | | | [ ( [ ASCII ] | | | [ Attribute ] | | | [ ATTRIBUTEAppend ] | | | [ ATTRIBUTECase ] | | | [ BAnner ] | | | [ BANNERCase ] | | | [ Binary | NOBinary ] | | | [ BUffsize ] | | | [ CC | NOCC ] | | | [ CLass ] | | | [ CLASSCase ] | | | [ Copies ] | | | [ DEVCase ] | | | [ FONT1 ] | | | [ FONT2 ] | | | [ FONT3 ] | | | [ FONT4 ] | | | [ FONTCase ] | | | [ Format ] | | | [ FORMATCase ] | | | [ FORMS ] | | | [ FORMSCase ] | | | [ Host ] | | | [ Indent ] | | | [ Length ] | | | [ LInecount ] | | | [ Mail ] | | | [ MAILAddr ] | | | [ MOde ] | | | [ MODECase ] | | | [ NOFF ] | | | [ NOHeader ] | | | [ NOINdent ] | | | [ NOTRim ] | | | [ NUMber ] | | | [ PASsword ] | | | [ Port | ] | | | [ PRINTDate ] | | | [ PRINTIndent ] | | | [ PRINTTime