PrintDocument 사용 Sample
var param ="BILLTYPE=card"
+ "&WORKPLACE=영 수 증"
+ "&SALESDATE=2013-01-01"
+ "&SALESUSER=홍길동"
+ "&ACCOUNTUSER=홍길동"
+ "&COVKOR=1"
+ "&COVFOR=0"
+ "&BILLNO=99999"
+ "&TABLENO=99999"
+ "&SEQ1=1"
+ "&MENUNAME1=MENUNAME1"
+ "&DC1=DC1"
+ "&QTY1=1000"
+ "&NET1=1000"
+ "&SEQ2=2"
+ "&MENUNAME2=MENUNAME2"
+ "&DC2=DC2"
+ "&QTY2=9999"
+ "&NET2=99999"
+ "&SUBTOTAL=100000"
+ "&NET=9999"
+ "&SVC=99999"
+ "&VAT=9999"
+ ">OTAL=99999999"
+ "&LP$Cash=99999999"
+ "&LP$Credit Card=99999999"
+ "&LP$City Ledger=99999999"
+ "&LP$Comp Refund=99999999"
+ "&LP$Cash Band=99999999"
+ "&LP$External GL=99999999"
+ "&LP$Guest Ledger=99999999"
+ "&LP$Paid Out=99999999"
+ "&LP$Pre-Payment=99999999"
+ "&LP$REFUND=99999999"
+ "&LP$Transfer Charge=99999999"
+ "&LP$Transfer Paid=99999999"
//+ "&CARD1=123456789012****"
//+ "&COMPANY1=국민카드사1"
//+ "&VALIDATE1=0709"
//+ "&INSTALLMENT1=00"
//+ "&ACCEPT1=12345678"
//+ "&CARD2=123456789012****"
//+ "&COMPANY2=국민카드사2"
//+ "&VALIDATE2=0709"
//+ "&INSTALLMENT2=00"
//+ "&ACCEPT2=12345678"
//+ "&CARD3=123456789012****"
//+ "&COMPANY3=국민카드사3"
//+ "&VALIDATE3=0709"
//+ "&INSTALLMENT3=00"
//+ "&ACCEPT3=12345678"
+ "&OFFICENAME=(주)테스트"
+ "&BUSINESSNO=123-456-7890"
+ "&CEONAME=홍길동"
+ "&TELNO=02-999-1234";
document.location.href = "http://localhost/TestComPrint/TestComPrint.application?" + param;
C#을 이용한 LPT1 포트 제어 자료 - 시작시점... (0) | 2013.05.25 |
---|---|
C# 에서 Crystal Report 사용하기 (0) | 2013.05.20 |
오직 한 번만 실행되는 프로그램 - 이미 실행중인 프로그램에 데이터 전달하기 (0) | 2013.05.13 |
C# OutLook AttachFile Drop&Drop (0) | 2013.04.22 |
Keyboard Hooking (0) | 2013.04.17 |