Coder Social home page Coder Social logo

pazitka / rawprintserver_devcpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from miso-lims/rawprintserver

0.0 0.0 0.0 81 KB

Raw Print Server fork that make possible to compile the project using Embarcadero Dev-c++ with g++. Most code was intact I have added some log options to be able to detect why it crashes.

Home Page: https://sourceforge.net/projects/rawprintserver/

License: Other

C++ 98.57% Makefile 1.43%

rawprintserver_devcpp's Introduction

Introduction:
-------------

In this directory, you will find RAW print server software for
Windows and for Linux / Unix / OS X.  For Windows, the software
is RawPrintServer.exe.  For Linux / Unix / OS X, the software
is the tiny RawPrintServer.sh script.



Windows Installation:
---------------------

For use as an operating system service (Windows NT/2000/XP):

* open a command line with "Start"-Menu Execute "cmd"
* call 'RawPrintServer INSTALL "Printer Name"' to install a RAW print server
  on port 9100 that routes data to the named printer (put printer name in
  quotation marks, and use the same name as in your Printers control panel)
* call 'RawPrintServer REMOVE' to deinstall it (might need a restart)
* if anything unclear, ask your system administrator...

For use in Windows 95/98/ME, you need standalone mode:
  RawPrintServer STANDALONE "my printer"
To terminate, press ctrl-c in the RawPrintServer window.  To get the
console to disappear, instead of STANDALONE, do BACKGROUND:
  RawPrintServer BACKGROUND "my printer"
After that, to terminate the server, you need to press ctrl-alt-delete
and terminate the RawPrintServer process.  To set RawPrintServer to start
automatically after a reboot, you might want to add it to your 
autoexec.bat file or edit your registry.  This is left to advanced users
to figure out.


You can install the print server for several different printers by using
different port numbers, usually from among 9100, 9101, 9102, ..., 9109.
To do that, add the port number at the end of the command-line, for instance:
  RawPrintServer INSTALL "my second printer" 9101
  RawPrintServer REMOVE 9101

If a port is not specified, 9100 is used.


To print to the printer, configure your printer on your client PC
to use a custom TCP/IP port in RAW (JetDirect) protocol mode, with
the specified port and the IP address (or domain name) of your
server PC.




OS X / Unix / Linux Installation
--------------------------------

Make sure you have nc (netcat) installed (search the web for it if
you need a copy).  To run the server, go to the terminal / xterm /
etc., navigate to this directory.  Make sure that RawPrintServer.sh
is executable:
   chmod 755 RawPrintServer.sh
Now, run
   ./RawPrintServer.sh printerName &
This installs the print server as a RAW print server on port 9100,
using printerName.  The printerName is the name of the printer as
would be used in an lpr -P printerName commandline.

Make sure that you don't have any firewall blocking incoming port
9100 connections.

Ask your local OS X / Unix / Linux guru if you want to set
RawPrintServer.sh to start every time the machine boots.

If you want to use a port other than 9100, edit RawPrintServer.sh
with a text editor.


Henk Jonas - metaview at web dot de
www.metaviewsoft.de
Berlin, Germany 07/2006


Alexander Pruss - arpruss at gmail dot com
Washington, DC, USA

rawprintserver_devcpp's People

Contributors

apmasell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.