-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hello, I am testing your code. I think it is very good, thoughtful and orderly.
I have made tests all is working, but I am not very good at PHP, can you tell me what should I do to set The page size and print type?
It is default to A4 and PDF. I neet EPL and Label format.
Also can you tell me what the "Payload" funtion realy do.
And how to set COD price and amount.
I have tried but id did not works, Label is printed as A4 PDF this is the part of my code:
$requestP = new GenerateSpedLabelsV1Request(); $requestP->setOutputDocFormat(new OutputDocFormatDSPEnumV1((string) 'EPL')); $requestP->setOutputDocPageFormat(new OutputDocPageFormatDSPEnumV1((string) 'LBL_PRINTER')); $request = GenerateLabelsRequest::fromWaybills([$n]);
Metadata
Metadata
Assignees
Labels
No labels