Comments (8)
Hi Andy,
Please provide both console output + Google sheet output for that test case so I can help debug this issue for you.
Thanks,
Kevin
from cloudprint_logocert.
Hi Kevin,
Thanks for your help.
Google sheet output:
7d60c7c7-08ed-45f2-9e39-1a50d45467a6 | OptionalInCDD.margins | Failed | "margins" not found in printer capabilities. Ensure the Margins option in _config.py is correctly set. |
---|
Here is the console output:
Verify margin is appropriately set/unset in printer capabilities.
...
_device.cdd['caps'] = {u'page_orientation': {u'option': [{u'is_default': True, u'type': u'PORTRAIT'}, {u'type': u'LANDSCAPE'}, {u'type': u'AUTO'}]}, u'duplex': {u'option': [{u'is_default': True, u'type': u'NO_DUPLEX'}]}, u'color': {u'option': [{u'is_default': True, u'type': u'STANDARD_MONOCHROME'}]}, u'media_size': {u'option': [{u'is_continuous_feed': False, u'width_microns': 215900, u'vendor_id': u'NorthAmericaLetter', u'is_default': True, u'height_microns': 279400, u'custom_display_name': u'LETTER', u'name': u'NA_LETTER'}, {u'is_continuous_feed': False, u'width_microns': 210000, u'vendor_id': u'ISOA4', u'is_default': False, u'height_microns': 297000, u'custom_display_name': u'A4', u'name': u'ISO_A4'}, {u'is_continuous_feed': False, u'width_microns': 148000, u'vendor_id': u'ISOA5', u'is_default': False, u'height_microns': 210000, u'custom_display_name': u'A5', u'name': u'ISO_A5'}, {u'is_continuous_feed': False, u'width_microns': 105000, u'vendor_id': u'ISOA6', u'is_default': False, u'height_microns': 148000, u'custom_display_name': u'A6', u'name': u'ISO_A6'}]}, u'cover': [{u'vendor_id': u'Door', u'type': u'DOOR', u'custom_display_name': u'Door'}], u'copies': {u'default': 1, u'max': 999}, u'output_bin_unit': [{u'vendor_id': u'outputBin', u'type': u'OUTPUT_BIN', u'custom_display_name': u'Output Bin'}], u'media_path': [{u'vendor_id': u'paperPath'}], u'pwg_raster_config': {u'document_sheet_back': u'NORMAL', u'document_resolution_supported': [{u'feed_dir': 300, u'cross_feed_dir': 300}, {u'feed_dir': 600, u'cross_feed_dir': 600}], u'document_type_supported': [u'SGRAY_8']}, u'marker': [{u'color': {u'type': u'BLACK', u'custom_display_name': u'BLACK'}, u'vendor_id': u'black', u'type': u'TONER', u'custom_display_name': u'Black Cartridge'}], u'input_tray_unit': [{u'vendor_id': u'tray', u'type': u'INPUT_TRAY', u'custom_display_name': u'Input Tray'}], u'supported_content_type': [{u'content_type': u'image/pwg-raster'}], u'dpi': {u'option': [{u'is_default': True, u'vertical_dpi': 600, u'horizontal_dpi': 600}]}}
The Margins option in _config.py set to True, so "margins" is expected in the CDD
LogoCert INFO: Test ID: 7d60c7c7-08ed-45f2-9e39-1a50d45467a6
LogoCert INFO: Result: Failed
LogoCert INFO: Name: OptionalInCDD.margins
LogoCert INFO: Notes: "margins" not found in printer capabilities. Ensure the Margins option in _config.py is correctly set.
FAIL
testCapsMarker (main.Printer)
from cloudprint_logocert.
Thanks for the provided information.
The script now checks for the presence/absence of "margins" in the CDD depending on the value you set in _config.py. Since your have set MARGINS as True in _config.py, the script now checks that "margins" is present in the CDD.
This is a different behavior from the previous logocert tool and also the test tracker test description (it should have been updated when this script adopted the new change). Sorry for the confusion!
Please let me know if you have further questions.
from cloudprint_logocert.
Hello,
That we support GCP.Margins, so we cannot set "MARGINS" as False.
1.8.15 GCP.Margins
Goal/Objective:Verify Printer Margins option for a GCP print job
from cloudprint_logocert.
If your printer indeed supports GCP.Margins, then you should set "MARGINS" as true in _config.py.
However, since your printer supports margins, the "margins" field should be present in the CDD.
Perhaps you are missing this field in your CDD.
from cloudprint_logocert.
Hi Kevin,
So that GCP Printing UI will show Margins option regardless the printer support it or not? there is no MARGINS in CDD for the printer in below screenshot.
Thanks,
Andy
from cloudprint_logocert.
Hi Andy,
Sorry, I'm not familiar with Chrome's behavior. It's possible that Chrome can alter the print job via software so the option is present. Our main concern is that your printer is exposing the correct fields in its CDD.
To clarify, if your printer does not support Margins, then it should not have the margins field in the CDD. Conversely, if your printer supports Margins, then it should definitely have the margins field in the CDD.
Thanks,
Kevin
from cloudprint_logocert.
Hi Kevin,
Thanks for your information.
Regards,
Andy
from cloudprint_logocert.
Related Issues (20)
- Can LocalPrint.PDFPageRange test check if page_range is supported in CDD HOT 1
- GCP Tool Questions, version 2 HOT 1
- fails testNoMediaInTray() and testOpenPaperTray() HOT 7
- Local API Creatjob HOT 3
- fails testJobStateMissingToner() HOT 2
- fails testJobStateWithPaperJam() HOT 5
- LocalPrinting returned Failed due to “Local Print Job not found using GCP /jobs api”. HOT 7
- PrivetRegistration.PrinterPanelCancel/PrivetAPI.RegistrationInvalidUserAuthToken failed HOT 2
- CDD.duplex failed HOT 2
- Error message for test Printer.RemoveMediafromTray doesn't match string search HOT 1
- testDeviceOffNoAdvertisePrivet issue HOT 1
- a special test file (85748k) cannot be printed through GCP HOT 1
- FitToPage option in device HOT 1
- “Could not convert to PDF” will pops up in manage GCP window when we select customized signal page of PPT to print. HOT 2
- Google converted the 1st, 2nd page of a special pdf file as blank if print on the printer which is not support PDF through GCP
- 1.13.9 & 1.13.10 have the same Test Case ID
- Google Cloud Print is not converting Excel sheet properly.
- if possible to add/support "Imaging Drum" in 1.10.8 Printer.RemoveTonerCartridg
- ZIJANG-8330 Thermal Receipt Printer is writing blank page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudprint_logocert.