Skip to content

Instantly share code, notes, and snippets.

View cdcarter's full-sized avatar

Christian Carter cdcarter

View GitHub Profile
anonymous
anonymous / pjl.py
Created September 2, 2012 21:53
Control your printer ;D
#!/usr/bin/python
import socket, sys, os
_hostname = '10.44.3.92';
_port = 9100;
_pjlUEL = '%-12345X';
def sendString(string):