Skip to content
#

escpos

Here are 79 public repositories matching this topic...

jomarlubrido
jomarlubrido commented Nov 24, 2017

I am trying to print on shared printer, but I don't understand why I get Permission denied when using
$connector = new WindowsPrintConnector("smb://Windows10-pc/".$printer_name);

but when I tried this code at the bottom it simply works, and i never added a Guest permission.

$printer = "\\".'Windows10-pc'."\".$printer_name;
if($ph = printer_open($printer)){
printer_set_option($p

sde1000
sde1000 commented Jul 19, 2020

Add a report to show the value of stock as at a particular date/time.

At the moment I do this through runtill dbshell:

date = datetime.date(2014, 12, 1)
from sqlalchemy.sql import or_
# Number of units of this item of stock used
used = td.func.coalesce(
  (td.select([td.func.sum(StockOut.qty)]).\
    correlate(StockItem.__table__).\
    where(StockOut.time < date).\
    w

Improve this page

Add a description, image, and links to the escpos topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the escpos topic, visit your repo's landing page and select "manage topics."

Learn more