[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-732727-105":59,"doc-detail-732727-en":130,"doc-similar-732727":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","pwg-safe-g-code-subset-for-3d-printing-v10-approved-best-practice","PWG Safe G-Code Subset for 3D Printing - v1.0 - Approved best practice","","This Best Practice document defines a “safe” subset of G-code for 3D printing in combination with IPP. It specifies the capabilities and parameters required so an IPP client can generate G-code compatible with the target printer. It also enumerates supported G-code commands and printing workflows, including how to generate, validate, and execute safe commands and related printer-specific additions and job handling. Status: Approved.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/pwg-safe-g-code-subset-for-3d-printing-v10-approved-best-practice/732727/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/pwg-safe-g-code-subset-for-3d-printing-v10-approved-best-practice/732727.png","ImageObject",300,407,{"name":92,"@type":93},"Danger Angel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does the PWG Safe G-Code Subset standard define?","Question",{"text":112,"@type":113},"It defines a “safe” subset of G-code for 3D printing that works with IPP, including the needed capabilities and parameters for generating compatible G-code.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which parts explain how to generate safe G-code?",{"text":117,"@type":113},"Section 4 covers “Generating Safe G-Code,” including required material extrusion parameters and support for additional “safe” commands.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the document address printing and printer-specific behavior?",{"text":121,"@type":113},"Section 5 describes printing safe G-code, including adding printer-specific machine commands, handling printer-specific attributes and values, and canceling jobs.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},732727,1795381937,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":36,"preview_page_count":19,"preview_urls":144},962090769052,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","The Printer Working Group  \nPWG Safe G-Code Subset for 3D Printing v1.0  \nStatus: Approved  \nAbstract: This Best Practice document defines a \"safe\" subset of G-code for use in 3D printing with IPP along with the capabilities and parameters needed to allow a client to generate G-code compatible with the printer.  \nThis is a PWG Best Practice. For a definition of a \"PWG Best Practice\", see:  \n[https://ftp.pwg.org/pub/pwg/general/pwg-process30.pdf](https://ftp.pwg.org/pub/pwg/general/pwg-process30.pdf)  \n[This Best Practice is available electronically at:](This Best Practice is available electronically at:)  \n[https://ftp.pwg.org/pub/pwg/informational/bp-pwgsafegcode10-20190604-5199.7.docx](https://ftp.pwg.org/pub/pwg/informational/bp-pwgsafegcode10-20190604-5199.7.docx)  \n[https://ftp.pwg.org/pub/pwg/informational/bp-pwgsafegcode10-20190604-5199.7.pd](https://ftp.pwg.org/pub/pwg/informational/bp-pwgsafegcode10-20190604-5199.7.pdf)[f](https://ftp.pwg.org/pub/pwg/informational/bp-pwgsafegcode10-20190604-5199.7.pdf)  \nCopyright © 2018-2019 The Printer Working Group. All rights reserved.  \nTitle: PWG Safe G-Code Subset for 3D Printing v1.0  \nThe material contained herein is not a license, either expressed or implied, to any IPR owned or controlled by any of the authors or developers of this material or the Printer Working Group. The material contained herein is provided on an “AS IS” basis and to the maximum extent permitted by applicable law, this material is provided AS IS AND WITH ALL FAULTS, and the authors and developers of this material and the Printer Working Group and its members hereby disclaim all warranties and conditions, either expressed, implied or statutory, including, but not limited to, any (if any) implied warranties that the use of the information herein will not infringe any rights or any implied warranties of merchantability or fitness for a particular purpose.  \nTable of Contents  \n1. Introduction .......................................................................................................................... 4  \n2. Terminology ......................................................................................................................... 5  \n2.1 Conformance Terminology ............................................................................................ 5  \n2.2 Protocol Role Terminology ............................................................................................ 5  \n2.3 Other Terminology ......................................................................................................... 5  \n2.4 Acronyms and Organizations ........................................................................................ 5  \n3. PWG Safe G-Code Subset ................................................................................................. 6  \n3.1 G0 and G1: (Rapid/Controlled) Linear Move ................................................................ 6  \n3.2 G4: Dwell ....................................................................................................................... 7  \n3.3 G21: Set Units to Millimeters......................................................................................... 7  \n3.4 G28: Move to Origin (Home) ......................................................................................... 7  \n3.5 G90: Set Absolute Positioning ...................................................................................... 7  \n3.6 G91: Set Relative Positioning ....................................................................................... 7  \n3.7 G92: Set Position........................................................................................................... 7  \n3.8 M82: Set Absolute Extrusion ......................................................................................... 8  \n3.9 M83: Set Relative Extrusion .......................................................................................... 8  \n3.10 Tn","cbCaidf1dvRYfSQP","https://ap.wps.com/l/cbCaidf1dvRYfSQP","pdf",240859,16,"English","# 1. Introduction\n# 2. Terminology\n## 2.1 Conformance Terminology\n## 2.2 Protocol Role Terminology\n## 2.3 Other Terminology\n## 2.4 Acronyms and Organizations\n# 3. PWG Safe G-Code Subset\n## 3.1 G0 and G1: (Rapid/Controlled) Linear Move\n## 3.2 G4: Dwell\n## 3.3 G21: Set Units to Millimeters\n## 3.4 G28: Move to Origin (Home)\n## 3.5 G90: Set Absolute Positioning\n## 3.6 G91: Set Relative Positioning\n## 3.7 G92: Set Position\n## 3.8 M82: Set Absolute Extrusion\n## 3.9 M83: Set Relative Extrusion\n## 3.10 Tnnn: Set Tool\n# 4. Generating Safe G-Code\n## 4.1 Material Extrusion Parameters\n## 4.2 Support for Additional \"Safe\" G-Code Commands\n# 5. Printing Safe G-Code\n## 5.1 Adding Printer-Specific Machine Commands\n## 5.2 Printer-Specific Attributes and Values\n## 5.3 Canceling Jobs\n# 6. IANA Considerations\n## 6.1 Attribute Registrations\n## 6.2 MIME Media Type Registration\n# 7. References\n# 8. Author's Address","[{\"question\":\"What does the PWG Safe G-Code Subset standard define?\",\"answer\":\"It defines a “safe” subset of G-code for 3D printing that works with IPP, including the needed capabilities and parameters for generating compatible G-code.\"},{\"question\":\"Which parts explain how to generate safe G-code?\",\"answer\":\"Section 4 covers “Generating Safe G-Code,” including required material extrusion parameters and support for additional “safe” commands.\"},{\"question\":\"How does the document address printing and printer-specific behavior?\",\"answer\":\"Section 5 describes printing safe G-code, including adding printer-specific machine commands, handling printer-specific attributes and values, and canceling jobs.\"}]","PWG Safe G-Code Subset for 3D Printing - v1.0 - Approved best practice | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/9c4aa68ab7804e0671b1d5baa1fa974d.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/47f6aa982a27f6efebe7e175a06b4b7e.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/13149038fedbf92a23827550b63e5fd9.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/cf6855e703b8cb77c879d1950d832d50.webp",980,1268,{"list":162,"token":66},[163,169,176,183,189,195,201,207,213,220],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":139,"category_name":30,"create_tm":168},512062,"Commande%20ESCPOS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935929498/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=ryqjywZjOLc%2BdxOVYCkcFnnx2Lk%3D","commande20escpos",1791264427,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":30,"create_tm":175},343494,"Honeywell Printers - Print PDF Directly - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910425225/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=oXnoThYBxEFUMZ5hr1ac4vhbzJg%3D","honeywell-printers-print-pdf-directly-user-guide",25,1790051312,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":30,"create_tm":182},640365,"RuggedJet 4\" Series - Wireless Bluetooth Mobile Thermal Printers - Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970398290/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=Y3ygW5fPaNc9RIKhPg1fa2Q0694%3D","ruggedjet-4-series-wireless-bluetooth-mobile-thermal-printers-datasheet",14,1792708769,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":19,"category_name":30,"create_tm":188},698253,"G Codes and M Codes for 3D printing - Marlin RepRap firmware","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010258422/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=scUjpkuOQ87i5QhCSF9JSDN2QS8%3D","g-codes-and-m-codes-for-3d-printing-marlin-reprap-firmware",1794450289,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":181,"category_name":30,"create_tm":194},489145,"Sawgrass SG1000 Sublimation Printer - Setup and Design Printing Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926975863/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=iZGzNEbxK9uHXr1H%2B9oBAqwzK3I%3D","sawgrass-sg1000-sublimation-printer-setup-and-design-printing-guide",1790820858,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":29,"category_name":30,"create_tm":200},722813,"DTF Film Printing Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230026894594/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=tsqt0qR9z02SMYwjuAxrWzdCA%2BI%3D","dtf-film-printing-guide",1795135025,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":181,"category_name":30,"create_tm":206},393883,"HP Smart Tank 6000 series - User Guide - Safety information","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918137945/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=o8kfA1PdhDJC16F3r1BCzC5dS%2B8%3D","hp-smart-tank-6000-series-user-guide-safety-information",1790395389,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":81,"category_name":30,"create_tm":212},701648,"Algorithm - Flow Charts, Pseudo Code - Grade Reading Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012473805/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=4YrleunlbBQ6kDgjDsXoi0UZl%2BM%3D","algorithm-flow-charts-pseudo-code-grade-reading-examples",1794535502,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":30,"create_tm":219},686026,"C101 - SINUMERIK Handbook - G codes & M codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000357163/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=RnuqDgcdHcaI3UplHKve9jByEr8%3D","c101-sinumerik-handbook-g-codes-m-codes",13,1794026972,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":81,"category_name":30,"create_tm":225},732721,"Centroid Lathe G Codes - Chapter 11","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031778487/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110199&Signature=qtHG%2FgrZ%2FCfoafbiePOHR4Z82Eo%3D","centroid-lathe-g-codes-chapter-11",1795381900]