Closed NgJinXiang14 closed 3 years ago
Which object is in self.conn
? You call printFile
but if that is Handle than you should give the filename as first argument.
Which object is in
self.conn
? You callprintFile
but if that is Handle than you should give the filename as first argument.
self.conn = cups.Connection() the problem is I can print, it just the option is not working, like that print range
here's my code https://github.com/NgJinXiang14/PrintBoothSystem/blob/main/Main%20System.py sry for the mess up coding tho, I just start PyQt5 and Python last week
EDIT : It works now, thanks, but the 'page-ranges' is still not working tho, It will not run it if I include it
EDIT 2: I have solve it, thanks for the trouble, this can be closed now.
I already try most printing option but all of them are not working, it keep print without option applied, did I do something wrong? Can anyone help me?