One way I can call printpreview is with getMostRecentBrowserWindow
const { getMostRecentBrowserWindow } = require('sdk/window/utils');
var chromewin = getMostRecentBrowserWindow();
chromewin.PrintUtils.printPreview(chromewin.PrintPreviewListener);
Now i want to call printpreview with url. Please help me. Thank you so much.